package com.yeyks.common.result.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author shuai
 * @date 2019/12/24 15:22
 */
@Data
public class UserDetailResult implements Serializable {
    private static final long serialVersionUID = -6629909542696144971L;

    @ApiModelProperty(value = "用户id")
    private Integer userId;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "注册时间")
    private Date createTime;
    @ApiModelProperty(value = "邀请人数(0元推广)")
    private Integer inviteUserCount;
    @ApiModelProperty(value = "1.普通用户，2企业用户")
    private Integer type;
    @ApiModelProperty(value = "1有效，0无效")
    private Integer status;
    @ApiModelProperty(value = "最近消费时间(c2b订单完成)")
    private Date lastOrderTime;
    @ApiModelProperty(value = "累计消费金额(c2b订单完成)")
    private Integer c2bTotalAmount;
    @ApiModelProperty(value = "优惠券使用次数")
    private Integer couponUseCount;
    @ApiModelProperty(value = "客单价(c2b订单完成)")
    private Integer c2bAverageAmount;
    @ApiModelProperty(value = "累计下单数(c2b订单完成)")
    private Integer c2bOrderCount;
}
